package oa.hleast.xswl.pojo.dto.pay.ali;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AliPayOrder {
    private String payment_amount;
    private String payment_currency;
    private String trans_amount;
    private String trans_currency;
    private String settlement_amount;
    private String settlement_currency;
    private String ext_info;

}

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
class BankcardExtInfo {
    private String inst_name;
    private String account_type;
    private String inst_province;
    private String inst_city;
    private String inst_branch_name;
    private String bank_code;

}

/**
 * 支付方信息
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
class payerInfo {
    private String identity;
    private String identity_type;
    private String name;
    private BankcardExtInfo bankcard_extInfo;
    private MerchantUserInfo merchant_userInfo;
    private ExtInfo ext_info;
}


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
class MerchantUserInfo {
    private String merchant_user_id;
}

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
class ExtInfo {
    private String alipay_anonymous_uid;
}

/**
 * 收款方信息
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
class PayeeInfo {
    private String identity;
    private String identity_type;
    private String name;
    private BankcardExtInfo bankcard_extInfo;
    private MerchantUserInfo merchant_userInfo;
    private ExtInfo ext_info;

}

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
class BusinessParams {
    private String sub_biz_scene;

}



